package com.gistmap.sideline.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gistmap.sideline.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {

    User findByUsernameOrEmail(@Param("username") String username, @Param("email") String email);

}
